

package ca.kooki.codesnippet.views;

import junit.framework.Assert;

import org.junit.Before;
import org.junit.Test;

public class NewUserViewTest extends SwtTest {

  private NewUserView newUserView;
  
  @Before
  public void setUp() throws Exception {
    super.setUp();
    newUserView = new NewUserView();
  }
  
  @Test
  public void LayoutNames()
  {
    newUserView.createPartControl(parent);
    Assert.assertEquals("User Name:",newUserView.labelName.getText());
  } 

}
